package com.caseProcess.service.impl;

import com.caseProcess.entity.SystemModel;
import com.caseProcess.mapper.SystemModelDao;
import com.caseProcess.service.SystemModelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SystemModelServiceImpl implements SystemModelService {
    @Resource
    private SystemModelDao systemModelDao;


    @Override
    public int insert(SystemModel systemModel) {
        return systemModelDao.insert(systemModel);
    }

    @Override
    public int update(SystemModel systemModel) {
        return systemModelDao.update(systemModel);
    }

    @Override
    public int delete(long menuid) {
        return systemModelDao.delete(menuid);
    }

    @Override
    public List<SystemModel> select() {
        return systemModelDao.select();
    }
}
